#include "User.h"

User::User()
{
}
void User::setLogin(QString login1)
{
    login=login1;
}

void User::setId(int id1)
{
    id=id1;
}

int User::getId()
{
    return id;
}

QString User::getLogin()
{
    return login;
}

QString User::getPassword()
{
    return password;
}

QString User::getToken()
{
    return this->token;
}


void User::setPassword(QString password1)
{
    password=password1;
}

void User::setToken(QString token)
{
    this->token = token;
}

void User::setWeights(QSharedPointer<QVector<QSharedPointer<Weight> > > m_weights1)
{
    m_weights=m_weights1;
}

QSharedPointer<QVector<QSharedPointer<Weight> > > User::getWeights()
{
    return m_weights;
}

